<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/dgr-header.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('de/dc1/dgr-header_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">dgr-header.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../de/dc1/dgr-header_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#ifndef DGR_HEADER_H</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#define DGR_HEADER_H</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;ns3/header.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;ns3/ipv4-address.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &quot;ns3/packet.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">// ---Delay Guaranteed Routing Packet Header---</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">//   | 8 bite  | 8 bite  | 8 bite  | 8 bite  |</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">//   | version | commond |       Empty       |</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">//   | Interface ID      |      States       |</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">//                      ...</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">//                      ...</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="../../de/d1d/classns3_1_1_dgr_nse.html">   25</a></span><span class="keyword">class </span><a class="code hl_class" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../d8/dc9/class_header.html">Header</a></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>{</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>  <span class="keyword">public</span>:</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a26065a66a4af1b5b6a0962976a0fd9bb">DgrNse</a> ();</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#ac4b6f6d618c616b20f336b4838de4f16">GetTypeId</a> ();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    TypeId <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a4fe0f2b082a77e690de20f8e51f4f03c">GetInstanceTypeId</a> () <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#af663ace163675839ec0b9a7944a0d514">Print</a> (std::ostream&amp; os) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    uint32_t <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a2b24a215ee38cb8ec0e5a8c6f5247e01">GetSerializedSize</a> () <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#abf6e89d3cc954ee666bafc8c65433161">Serialize</a> (Buffer::Iterator start) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    uint32_t <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#ac07423ad134e176d78257b014d307e78">Deserialize</a> (Buffer::Iterator start) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a2e993c84f83ec1bddf787351c5c41401">SetInterface</a> (uint32_t iface);</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    uint32_t <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a8bec3d3ec3349e0396c141a0a0d0fb48">GetInterface</a> () <span class="keyword">const</span>;</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#afed23298399afb86ba0bdf1f6ea19b7d">SetState</a> (uint32_t state);</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>    uint32_t <a class="code hl_function" href="../../de/d1d/classns3_1_1_dgr_nse.html#a438c105a750d6d764be284388ba56c3a">GetState</a> () <span class="keyword">const</span>;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>  <span class="keyword">private</span>:</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../de/d1d/classns3_1_1_dgr_nse.html#ad5d302e27f2b5ee40ed20500790ad3ea">   78</a></span>    uint32_t <a class="code hl_variable" href="../../de/d1d/classns3_1_1_dgr_nse.html#ad5d302e27f2b5ee40ed20500790ad3ea">m_iface</a>;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../de/d1d/classns3_1_1_dgr_nse.html#a7d2879fac256bf8d75a48075381434b6">   79</a></span>    uint32_t <a class="code hl_variable" href="../../de/d1d/classns3_1_1_dgr_nse.html#a7d2879fac256bf8d75a48075381434b6">m_state</a>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>};</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>std::ostream&amp; <a class="code hl_function" href="../../d7/d2e/namespacens3.html#a7c0f3fcc4f4363c5458911cded1af4b6">operator&lt;&lt;</a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_class" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> &amp; h);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html">   95</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d1/de8/classns3_1_1_dgr_header.html">DgrHeader</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../d8/dc9/class_header.html">Header</a></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>{</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>        <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a92be687ce1e22b5ecfc104c55397e97a">DgrHeader</a> ();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>    <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a31749d9e94fa05433769aefdc48b99ee">GetTypeId</a> ();</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    TypeId <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a9d4e033c4a315e17b242421856447aad">GetInstanceTypeId</a> () <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#afc60d4b57c29b89faf44e8db2bc223a9">Print</a> (std::ostream &amp;os) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    uint32_t <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a2fcef3eb0f76c33b6d7c151dc4b939e3">GetSerializedSize</a> () <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a21bd3c98f0c1c2a7110e24bbd2258737">Serialize</a> (Buffer::Iterator start) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>    uint32_t <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a972cb695337832c59fe1f8475c33d902">Deserialize</a> (Buffer::Iterator start) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">  136</a></span>    <span class="keyword">enum</span> <a class="code hl_enumeration" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    {</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0">  138</a></span>        <a class="code hl_enumvalue" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0">REQUEST</a> = 0x1,</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08">  139</a></span>        <a class="code hl_enumvalue" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08">RESPONSE</a> = 0x2,</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>    };</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#ae6c91c53e2bf12faf7f315e55a103412">SetCommand</a> (<a class="code hl_enumeration" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a> command);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>   <a class="code hl_enumeration" href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">Command_e</a> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a75a9665a3108d89e19891e73b0f51251">GetCommand</a> () <span class="keyword">const</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>   <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a6004075aa81cee64dbf96c03e548f41e">AddNse</a> (<a class="code hl_class" href="../../de/d1d/classns3_1_1_dgr_nse.html">DgrNse</a> nse);</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>   <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#a930203fc0319f7d6f2119079096168dc">ClearNses</a> ();</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>   uint16_t <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#ae7b3e6830add872de26fc78b1af52372">GetNseNumber</a> () <span class="keyword">const</span>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>   std::list&lt;DgrNse&gt; <a class="code hl_function" href="../../d1/de8/classns3_1_1_dgr_header.html#ad28f3042c3a7579cf82d7debfab3ff94">GetNseList</a> () <span class="keyword">const</span>;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html#a26054c79e83d831602dadf1671bb41d3">  178</a></span>   uint8_t <a class="code hl_variable" href="../../d1/de8/classns3_1_1_dgr_header.html#a26054c79e83d831602dadf1671bb41d3">m_command</a>;           </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="../../d1/de8/classns3_1_1_dgr_header.html#a61847b86fd5fb5a94a1c3e81fae0b446">  179</a></span>   std::list&lt;DgrNse&gt; <a class="code hl_variable" href="../../d1/de8/classns3_1_1_dgr_header.html#a61847b86fd5fb5a94a1c3e81fae0b446">m_nseList</a>; </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>};</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>std::ostream&amp; <a class="code hl_function" href="../../d7/d2e/namespacens3.html#a7c0f3fcc4f4363c5458911cded1af4b6">operator&lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code hl_class" href="../../d1/de8/classns3_1_1_dgr_header.html">DgrHeader</a>&amp; h);</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>}</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span><span class="preprocessor">#endif </span><span class="comment">/* DGR_HEADER_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span> </div>
<div class="ttc" id="aclass_header_html"><div class="ttname"><a href="../../d8/dc9/class_header.html">Header</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html">ns3::DgrHeader</a></div><div class="ttdoc">dgr header</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00095">dgr-header.h:96</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a21bd3c98f0c1c2a7110e24bbd2258737"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a21bd3c98f0c1c2a7110e24bbd2258737">ns3::DgrHeader::Serialize</a></div><div class="ttdeci">void Serialize(Buffer::Iterator start) const override</div><div class="ttdoc">Serialize the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00145">dgr-header.cc:145</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a26054c79e83d831602dadf1671bb41d3"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a26054c79e83d831602dadf1671bb41d3">ns3::DgrHeader::m_command</a></div><div class="ttdeci">uint8_t m_command</div><div class="ttdoc">command type</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00178">dgr-header.h:178</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a2fcef3eb0f76c33b6d7c151dc4b939e3"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a2fcef3eb0f76c33b6d7c151dc4b939e3">ns3::DgrHeader::GetSerializedSize</a></div><div class="ttdeci">uint32_t GetSerializedSize() const override</div><div class="ttdoc">Get the serialized size of the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00138">dgr-header.cc:138</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a31749d9e94fa05433769aefdc48b99ee"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a31749d9e94fa05433769aefdc48b99ee">ns3::DgrHeader::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId()</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00109">dgr-header.cc:109</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a6004075aa81cee64dbf96c03e548f41e"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a6004075aa81cee64dbf96c03e548f41e">ns3::DgrHeader::AddNse</a></div><div class="ttdeci">void AddNse(DgrNse nse)</div><div class="ttdoc">Add a DGR Neighbor Status Entry (NSE) to the message.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00214">dgr-header.cc:214</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a61847b86fd5fb5a94a1c3e81fae0b446"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a61847b86fd5fb5a94a1c3e81fae0b446">ns3::DgrHeader::m_nseList</a></div><div class="ttdeci">std::list&lt; DgrNse &gt; m_nseList</div><div class="ttdoc">list of the DNEs in the message</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00179">dgr-header.h:179</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a75a9665a3108d89e19891e73b0f51251"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a75a9665a3108d89e19891e73b0f51251">ns3::DgrHeader::GetCommand</a></div><div class="ttdeci">Command_e GetCommand() const</div><div class="ttdoc">Get the command.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00208">dgr-header.cc:208</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a92be687ce1e22b5ecfc104c55397e97a"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a92be687ce1e22b5ecfc104c55397e97a">ns3::DgrHeader::DgrHeader</a></div><div class="ttdeci">DgrHeader()</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00103">dgr-header.cc:103</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a930203fc0319f7d6f2119079096168dc"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a930203fc0319f7d6f2119079096168dc">ns3::DgrHeader::ClearNses</a></div><div class="ttdeci">void ClearNses()</div><div class="ttdoc">Clear all the NSEs from the header.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00220">dgr-header.cc:220</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a972cb695337832c59fe1f8475c33d902"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a972cb695337832c59fe1f8475c33d902">ns3::DgrHeader::Deserialize</a></div><div class="ttdeci">uint32_t Deserialize(Buffer::Iterator start) override</div><div class="ttdoc">Deserialize the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00162">dgr-header.cc:162</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_a9d4e033c4a315e17b242421856447aad"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#a9d4e033c4a315e17b242421856447aad">ns3::DgrHeader::GetInstanceTypeId</a></div><div class="ttdeci">TypeId GetInstanceTypeId() const override</div><div class="ttdoc">Return the instance type identifier.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00119">dgr-header.cc:119</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ab21f647781eecc35e6b201178915de4c"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4c">ns3::DgrHeader::Command_e</a></div><div class="ttdeci">Command_e</div><div class="ttdoc">Commands to be used in Dgr headers.</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00136">dgr-header.h:137</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4ca8d8894292f7def51be8e3f118f7c1e08">ns3::DgrHeader::RESPONSE</a></div><div class="ttdeci">@ RESPONSE</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00139">dgr-header.h:139</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ab21f647781eecc35e6b201178915de4cacc2d402a1af70c8265edf152551e1fb0">ns3::DgrHeader::REQUEST</a></div><div class="ttdeci">@ REQUEST</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00138">dgr-header.h:138</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ad28f3042c3a7579cf82d7debfab3ff94"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ad28f3042c3a7579cf82d7debfab3ff94">ns3::DgrHeader::GetNseList</a></div><div class="ttdeci">std::list&lt; DgrNse &gt; GetNseList() const</div><div class="ttdoc">Get the list of NSEs included in the message.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00232">dgr-header.cc:232</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ae6c91c53e2bf12faf7f315e55a103412"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ae6c91c53e2bf12faf7f315e55a103412">ns3::DgrHeader::SetCommand</a></div><div class="ttdeci">void SetCommand(Command_e command)</div><div class="ttdoc">Set the command.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00202">dgr-header.cc:202</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_ae7b3e6830add872de26fc78b1af52372"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#ae7b3e6830add872de26fc78b1af52372">ns3::DgrHeader::GetNseNumber</a></div><div class="ttdeci">uint16_t GetNseNumber() const</div><div class="ttdoc">Get the number of NSEs includes in the message.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00226">dgr-header.cc:226</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html_afc60d4b57c29b89faf44e8db2bc223a9"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html#afc60d4b57c29b89faf44e8db2bc223a9">ns3::DgrHeader::Print</a></div><div class="ttdeci">void Print(std::ostream &amp;os) const override</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00125">dgr-header.cc:125</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html">ns3::DgrNse</a></div><div class="ttdoc">dgr v2 Neighbor Status Entry (NSE)</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00025">dgr-header.h:26</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a26065a66a4af1b5b6a0962976a0fd9bb"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a26065a66a4af1b5b6a0962976a0fd9bb">ns3::DgrNse::DgrNse</a></div><div class="ttdeci">DgrNse()</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00016">dgr-header.cc:16</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a2b24a215ee38cb8ec0e5a8c6f5247e01"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a2b24a215ee38cb8ec0e5a8c6f5247e01">ns3::DgrNse::GetSerializedSize</a></div><div class="ttdeci">uint32_t GetSerializedSize() const override</div><div class="ttdoc">Get the serialized size of the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00045">dgr-header.cc:45</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a2e993c84f83ec1bddf787351c5c41401"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a2e993c84f83ec1bddf787351c5c41401">ns3::DgrNse::SetInterface</a></div><div class="ttdeci">void SetInterface(uint32_t iface)</div><div class="ttdoc">Set the interface.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00068">dgr-header.cc:68</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a438c105a750d6d764be284388ba56c3a"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a438c105a750d6d764be284388ba56c3a">ns3::DgrNse::GetState</a></div><div class="ttdeci">uint32_t GetState() const</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00086">dgr-header.cc:86</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a4fe0f2b082a77e690de20f8e51f4f03c"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a4fe0f2b082a77e690de20f8e51f4f03c">ns3::DgrNse::GetInstanceTypeId</a></div><div class="ttdeci">TypeId GetInstanceTypeId() const override</div><div class="ttdoc">Return the instance type identifier.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00033">dgr-header.cc:33</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a7d2879fac256bf8d75a48075381434b6"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a7d2879fac256bf8d75a48075381434b6">ns3::DgrNse::m_state</a></div><div class="ttdeci">uint32_t m_state</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00079">dgr-header.h:79</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_a8bec3d3ec3349e0396c141a0a0d0fb48"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#a8bec3d3ec3349e0396c141a0a0d0fb48">ns3::DgrNse::GetInterface</a></div><div class="ttdeci">uint32_t GetInterface() const</div><div class="ttdoc">Get the iface.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00074">dgr-header.cc:74</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_abf6e89d3cc954ee666bafc8c65433161"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#abf6e89d3cc954ee666bafc8c65433161">ns3::DgrNse::Serialize</a></div><div class="ttdeci">void Serialize(Buffer::Iterator start) const override</div><div class="ttdoc">Serialize the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00051">dgr-header.cc:51</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_ac07423ad134e176d78257b014d307e78"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#ac07423ad134e176d78257b014d307e78">ns3::DgrNse::Deserialize</a></div><div class="ttdeci">uint32_t Deserialize(Buffer::Iterator start) override</div><div class="ttdoc">Deserialize the packet.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00059">dgr-header.cc:59</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_ac4b6f6d618c616b20f336b4838de4f16"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#ac4b6f6d618c616b20f336b4838de4f16">ns3::DgrNse::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId()</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00023">dgr-header.cc:23</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_ad5d302e27f2b5ee40ed20500790ad3ea"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#ad5d302e27f2b5ee40ed20500790ad3ea">ns3::DgrNse::m_iface</a></div><div class="ttdeci">uint32_t m_iface</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00078">dgr-header.h:78</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_af663ace163675839ec0b9a7944a0d514"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#af663ace163675839ec0b9a7944a0d514">ns3::DgrNse::Print</a></div><div class="ttdeci">void Print(std::ostream &amp;os) const override</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00039">dgr-header.cc:39</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_nse_html_afed23298399afb86ba0bdf1f6ea19b7d"><div class="ttname"><a href="../../de/d1d/classns3_1_1_dgr_nse.html#afed23298399afb86ba0bdf1f6ea19b7d">ns3::DgrNse::SetState</a></div><div class="ttdeci">void SetState(uint32_t state)</div><div class="ttdef"><b>Definition</b> <a href="../../d8/d9d/dgr-header_8cc_source.html#l00080">dgr-header.cc:80</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
<div class="ttc" id="anamespacens3_html_a7c0f3fcc4f4363c5458911cded1af4b6"><div class="ttname"><a href="../../d7/d2e/namespacens3.html#a7c0f3fcc4f4363c5458911cded1af4b6">ns3::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const DGRVertex::VertexType &amp;t)</div><div class="ttdoc">Stream insertion operator.</div><div class="ttdef"><b>Definition</b> <a href="../../da/d53/dgr-candidate-queue_8cc_source.html#l00037">dgr-candidate-queue.cc:38</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../de/dc1/dgr-header_8h.html">dgr-header.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
